/* 基础样式 */
body {
  margin: 0;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  min-width: 200px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* 按钮容器 */
div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 按钮基础样式 */
button {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

button:hover::before {
  width: 300px;
  height: 300px;
}

button:active {
  transform: scale(0.98);
}

/* 开始执行按钮 - 蓝色 */
#start {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

#start:hover {
  background: linear-gradient(135deg, #5568d3 0%, #6a3d8f 100%);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  transform: translateY(-2px);
}

#start:active {
  box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

/* 结束执行按钮 - 红色 */
#end {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

#end:hover {
  background: linear-gradient(135deg, #e084ed 0%, #e0465b 100%);
  box-shadow: 0 4px 12px rgba(245, 87, 108, 0.4);
  transform: translateY(-2px);
}

#end:active {
  box-shadow: 0 2px 6px rgba(245, 87, 108, 0.3);
}

/* 禁用状态 */
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

button:disabled:hover {
  transform: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

